package com.atguigu.dga.ds.service;

import com.atguigu.dga.ds.bean.TDsTaskInstance;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuzhida
 * @since 2024-06-30
 */
public interface TDsTaskInstanceService extends IService<TDsTaskInstance> {

    /**
     * 提取任务实例
     * @param assessDate
     * @return
     */
    List<TDsTaskInstance> getTDsTaskInstanceList(String assessDate);

    /**
     * 查询指定表指定考评日期是否有报错的实例
     * @param name
     * @param assessDate
     * @return
     */
    List<TDsTaskInstance> getFailTDsTaskInstanceList(String name, String assessDate);

    /**
     * 查询指定表前几天的任务实例
     * @param name
     * @param startDate
     * @param assessDate
     * @return
     */
    List<TDsTaskInstance> getBeforeDaystDsTaskInstanceList(String name, String startDate, String assessDate);
}
